package com.atguigu.pojo;
import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

import java.util.List;
@Component
@ConfigurationProperties(prefix = "person")
@Data
public class Person {
    private String name;
    private int age;
    private String gender;
    private Address address;
    private Contact contact;
    private List<String> hobbies;
    private List<Education> education;
}
